import { MyHttps } from "../utils/utils";
import api from "./api";

export async function listMyMessageReq(params) {
    return MyHttps.get(api.message.list(),params)    
}

export async function ReadMessageReq(params:{mid:number}) {
    return MyHttps.get(api.message.read(params.mid),params)
}